
package scrum.gui.help;

import java.awt.GridBagConstraints;


public class AboutDialog extends java.awt.Dialog {
    
   
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public AboutDialog(java.awt.Frame parent, boolean modal) {
        super(parent, modal);
        initComponents();
    }
    
    private void initComponents() {
    	
        java.awt.GridBagConstraints gridBagConstraints;

        jLabel1 = new javax.swing.JLabel();
        jTextArea1 = new javax.swing.JTextArea();

        setLayout(new java.awt.GridBagLayout());

        setBackground(java.awt.Color.white);
        setResizable(false);
        setTitle("About ScrumShark");
        addWindowListener(new java.awt.event.WindowAdapter() {
            public void windowClosing(java.awt.event.WindowEvent evt) {
                closeDialog(evt);
            }
        });

        jLabel1.setBackground(java.awt.Color.white);
        //jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/res/large/classeditor.gif")));
        jLabel1.setText("ScrumShark Version 1.0");
        gridBagConstraints = new GridBagConstraints();
        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(10, 10, 0, 10);
        add(jLabel1, gridBagConstraints);

        jTextArea1.setEditable(false);
        jTextArea1.setText("Team member: \n Ganggao Zhu \n Alejandro Bustamante \n Ali Safari Moghaddam \n Reik Mueller ");
        jTextArea1.setBorder(null);
        jTextArea1.setRequestFocusEnabled(false);
        gridBagConstraints = new GridBagConstraints();
        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
        gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.weighty = 1.0;
        gridBagConstraints.insets = new java.awt.Insets(10, 45, 10, 10);
        add(jTextArea1, gridBagConstraints);

        setBounds(50, 100, 340, 250);
    }

    private void closeDialog(java.awt.event.WindowEvent evt) {
        setVisible(false);
        dispose();
    }
    
 
    private javax.swing.JLabel jLabel1;
    private javax.swing.JTextArea jTextArea1;
  
    
}
